//
//  User.swift
//  AFNetworking
//
//  Created by Northwan on 16/01/24
//  Copyright (c) __ORGANIZATIONNAME__. All rights reserved.
//

import UIKit

class NWUser: NSObject {

    // 用户UID
    var id: Int = 0
    /// 友好显示名称
    var name: String?
    /// 用户头像地址（中图），50×50像素
    var profile_image_url: String?
    /// 认证类型 -1：没有认证，1，认证用户，2,3,5: 企业认证，220: 达人
    var verified: Int = 0
    /// 会员等级 1-6
    var mbrank: Int = 0
    
    init(dict: [String:AnyObject]) {
        super.init()
        setValuesForKeysWithDictionary(dict)
    }
    
    override func setValue(value: AnyObject?, forUndefinedKey key: String) {}
    
    override var description: String {
        let keys = ["name"]
        return dictionaryWithValuesForKeys(keys).description
    }
    

}